<extend name="Public:base"/>

<block name="main">
<div id="yzh-content" class="col-xs-12">
    <div class="main-title">
        <h2>单页管理</h2>
    </div>
    <div class="table-actions">
        <a href="{:U('Wap/addpage')}" class="btn btn-primary btn-sm">添加</a>
    </div>

    <form action="{:U('Page/in')}" method="post">
        <table class="table table-striped table-bordered">
            <thead>
                 <tr>
                    <th width="60">ID</th>
                    <th>标题</th>
                    <th width="200">操作管理</th>
                </tr>
            </thead>
            <tbody>
                <volist name="list" id="vo" key="k">
                <tr>
                    <td>{$vo['id']}</td>
                    <td>{$vo['title']}</td>
                    <td><a href="{:U('Wap/editpage','id='.$vo['id'])}">修改</a></td>
                </tr>
                </volist>
            </tbody>
        </table>
    </form>
    <div class="row">
        <div id="pages">{$page}</div>
    </div>

</div>
</block>